<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
  </head>
  <body>
	<a href="file.jspx?m=upload">上传新资料</a>
	<h3>资料列表</h3>
	<table border="1" width="70%">
		<tr>
			<td>序号</td>
			<td>资料名</td>
			<td>操作</td>
		</tr>	
		<c:forEach items="${requestScope.list}" var="f">
			<tr>
				<td>${f.id}</td>
				<td>${f.name}</td>
				<td><a href="file.jspx?m=download&f=${f.fileName}">下载</a></td>
			</tr>
		</c:forEach>
	</table>
  </body>
</html>
